package com.chinacoal.microservice.service;

import com.chinacoal.microservice.pojo.CcmsSmartleasingRepair;
import com.chinacoal.microservice.util.QueryCriteria;
import com.chinacoal.microservice.util.Result;

import java.util.List;

/**
 * @author zhuliang
 * @version V1.0
 * @Description: 房源管理-维修记录-接口类
 * @date 2020-11-10 13：59
 */
public interface MaintenanceRecordsService {

    Result<List<CcmsSmartleasingRepair>> getMaintenanceRecords(QueryCriteria queryCriteria, String token);

    Result<CcmsSmartleasingRepair> getMaintenanceById(String pkRepairId, String token);

    Result addMaintenanceRecords(CcmsSmartleasingRepair repair, String token);

    Result updateMaintenanceRecords(CcmsSmartleasingRepair repair, String token);

    Result delectMaintenanceRecords(String deleteId, String token);

    Result<List<CcmsSmartleasingRepair>> queryMaintenanceRecords(QueryCriteria queryCriteria, String token);
}
